<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/ui/edit.jsp" %>
<div class="page-container">
    <div class="page-title">
        <div class="page-title-context">
            <button type="button" class="layui-btn layui-btn-primary" onclick="onSubmit()">保存</button>
        </div>
    </div>
    <div class="page-body">
        <div class="page-context">
            <x:breadcrumb/>
            <x:form>
                <x:table>
                    <x:tr>
                        <x:input propertyName="fdName" required="true" />
                        <x:input propertyName="fdUserName" required="true" />
                    </x:tr>
                    <x:tr>
                        <x:select propertyName="fdAddressName" propertyId="fdAddressId" required="true"
                                  placeholder="选择一个地址"
                                  modelPref="sysOrgAddress" colspan="3" />
                    </x:tr>
                    <x:tr>
                        <x:select propertyName="fdRolesName" propertyId="fdRolesId" required="true"
                                  modelPref="sysOrgRole" multi="true" colspan="3" placeholder="选择角色"/>
                    </x:tr>
                    <%--     <x:tr>
                             <x:tree propertyName="fdRolesName" propertyId="fdRolesId" required="true" multi="false"
                                     colspan="3" placeholder="选择角色" />
                         </x:tr>--%>
                </x:table>
            </x:form>
        </div>
    </div>
    <div class="page-footer">
        <div class="page-footer-context">
        </div>
    </div>
</div>
<%@ include file="/ui/footer.jsp" %>

